/*
 * panes.h
 *
 *  Created on: Nov 25, 2013
 *      Author: Ahmed
 */

#include "stm32f10x.h"

#ifndef PANES_H_
#define PANES_H_

typedef struct {
	uint8_t	pane_title_index;		// index of the title from the paneTitles array
	uint8_t	pane_nav_index;	    	// index of the navigation line from the paneNav array
	uint8_t	last_selection_index;  	// index of the last selected option. If no selection, use 0xFF, otherwise use 1-4
									// mapping to the LCD row number
	char **pane_body;				// pointer to the panel body (array of pointers to strings)
									// from the set of panel_x arrays
} pane;

#define	LCD_COLUMNS	14
#define	LCD_ROWS	6
void displayStaticPane(uint8_t paneNum);

#endif /* PANES_H_ */
